[INFO] cloning repository https://github.com/WestedCrean/rust_raytracing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WestedCrean/rust_raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWestedCrean%2Frust_raytracing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWestedCrean%2Frust_raytracing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b809641bf042b6859b012a590451ec374fc9e6f
[INFO] checking WestedCrean/rust_raytracing against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWestedCrean%2Frust_raytracing" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/WestedCrean/rust_raytracing on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/WestedCrean/rust_raytracing
[INFO] finished tweaking git repo https://github.com/WestedCrean/rust_raytracing
[INFO] tweaked toml for git repo https://github.com/WestedCrean/rust_raytracing written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/WestedCrean/rust_raytracing already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.35.1
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] [stderr]   Downloaded sdl2-sys v0.35.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2b5754bf252adcf89d5e7287202fa96eaed1a261a1bb6a07ec5a8e0cf506028
[INFO] running `Command { std: "docker" "start" "-a" "a2b5754bf252adcf89d5e7287202fa96eaed1a261a1bb6a07ec5a8e0cf506028", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2b5754bf252adcf89d5e7287202fa96eaed1a261a1bb6a07ec5a8e0cf506028", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2b5754bf252adcf89d5e7287202fa96eaed1a261a1bb6a07ec5a8e0cf506028", kill_on_drop: false }`
[INFO] [stdout] a2b5754bf252adcf89d5e7287202fa96eaed1a261a1bb6a07ec5a8e0cf506028
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf447c6261ecbd50d5cf1d8a6a297db18b43fceac066d87105ebc936efd5c77d
[INFO] running `Command { std: "docker" "start" "-a" "bf447c6261ecbd50d5cf1d8a6a297db18b43fceac066d87105ebc936efd5c77d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.6
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.85
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.6
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling sdl2 v0.35.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.2
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking simba v0.4.0
[INFO] [stderr]     Checking nalgebra v0.25.4
[INFO] [stderr]     Checking rust_raytracing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `crate::intersections::ray_sphere_intersection`, `crate::intersections::Sphere`
[INFO] [stdout]   --> src/intersections.rs:45:60
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use crate::intersections::{nearest_intersected_object, ray_sphere_intersection, Sphere};
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^ no `Sphere` in `intersections`
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            no `ray_sphere_intersection` in `intersections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::INFINITY`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::f32::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SILVER`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use colors::{ROSSO_CORSA, SILVER, SPACE};
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MEDIUM_SPRING_GREEN`
[INFO] [stdout]   --> src/main.rs:23:54
[INFO] [stdout]    |
[INFO] [stdout] 23 |     get_vector, BLACK, CARIBBEAN_GREEN, DEEP_PURPLE, MEDIUM_SPRING_GREEN, METALLIC_SEAWEED,
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::INFINITY`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::f32::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SILVER`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use colors::{ROSSO_CORSA, SILVER, SPACE};
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MEDIUM_SPRING_GREEN`
[INFO] [stdout]   --> src/main.rs:23:54
[INFO] [stdout]    |
[INFO] [stdout] 23 |     get_vector, BLACK, CARIBBEAN_GREEN, DEEP_PURPLE, MEDIUM_SPRING_GREEN, METALLIC_SEAWEED,
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `refractive_index`
[INFO] [stdout]    --> src/main.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     refractive_index: f32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refractive_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lastx`
[INFO] [stdout]    --> src/main.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let mut lastx = 0;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_lastx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lasty`
[INFO] [stdout]    --> src/main.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |     let mut lasty = 0;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_lasty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let mut lastx = 0;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |     let mut lasty = 0;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refract_ray` is never used
[INFO] [stdout]    --> src/main.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn refract_ray(
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_in_unit_disk` is never used
[INFO] [stdout]  --> src/camera.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn random_in_unit_disk() -> Vector3<f32> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `u`, `v` and `lens_radius` are never read
[INFO] [stdout]   --> src/camera.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     u: Vector3<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     v: Vector3<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     lens_radius: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORANGE_YELLOW_CRAYOLA` is never used
[INFO] [stdout]  --> src/colors.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const ORANGE_YELLOW_CRAYOLA: Color = Color::RGB(255, 209, 102);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AQUAMARINE` is never used
[INFO] [stdout]  --> src/colors.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const AQUAMARINE: Color = Color::RGB(76, 224, 179);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEDIUM_SPRING_GREEN` is never used
[INFO] [stdout]  --> src/colors.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MEDIUM_SPRING_GREEN: Color = Color::RGB(89, 255, 160);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRUE_BLUE` is never used
[INFO] [stdout]   --> src/colors.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const TRUE_BLUE: Color = Color::RGB(4, 102, 200);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIDDLE_YELLOW` is never used
[INFO] [stdout]   --> src/colors.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const MIDDLE_YELLOW: Color = Color::RGB(247, 231, 51);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PINK` is never used
[INFO] [stdout]   --> src/colors.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PINK: Color = Color::RGB(247, 37, 133);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]   --> src/colors.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const BLUE: Color = Color::RGB(0, 150, 199);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SILVER` is never used
[INFO] [stdout]   --> src/colors.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const SILVER: Color = Color::RGB(235, 235, 235);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_color` is never used
[INFO] [stdout]   --> src/colors.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn get_color(vec: Vector3<f32>) -> Color {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `center` is never used
[INFO] [stdout]   --> src/lights.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn center(&self) -> Vector3<f32> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `color_vector` is never used
[INFO] [stdout]   --> src/lights.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn color_vector(&self) -> Vector3<f32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_color` is never used
[INFO] [stdout]   --> src/lights.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn get_color(&self) -> Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `intensity` is never used
[INFO] [stdout]   --> src/lights.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn intensity(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `light_type` is never used
[INFO] [stdout]   --> src/lights.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn light_type(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `color_vector` is never used
[INFO] [stdout]   --> src/lights.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn color_vector(&self) -> Vector3<f32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_color` is never used
[INFO] [stdout]   --> src/lights.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_color(&self) -> Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `radius` is never used
[INFO] [stdout]   --> src/shapes.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn radius(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `color_vector` is never used
[INFO] [stdout]   --> src/shapes.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn color_vector(&self) -> Vector3<f32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `P` should have a snake case name
[INFO] [stdout]    --> src/main.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |             let P = res.intersection_vector;
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `p`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]    --> src/main.rs:222:21
[INFO] [stdout]     |
[INFO] [stdout] 222 |             let mut N = P - res.object_center; // sphere normal at intersection
[INFO] [stdout]     |                     ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:326:5
[INFO] [stdout]     |
[INFO] [stdout] 326 |     draw_scene(canvas, &cam, &scene);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_raytracing` due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bf447c6261ecbd50d5cf1d8a6a297db18b43fceac066d87105ebc936efd5c77d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf447c6261ecbd50d5cf1d8a6a297db18b43fceac066d87105ebc936efd5c77d", kill_on_drop: false }`
[INFO] [stdout] bf447c6261ecbd50d5cf1d8a6a297db18b43fceac066d87105ebc936efd5c77d
